package com.jisf.driver.service;

import com.jisf.driver.entity.po.ApplicationPackage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jisf.driver.response.ResultCode;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jisf
 * @since 2022-05-12
 */
public interface IApplicationPackageService extends IService<ApplicationPackage> {

    /**
     * 获取套餐列表
     * @return
     */
    List<ApplicationPackage> getApplyList();

    /**
     * 删除套餐
     * @param id
     * @return
     */
    ResultCode deleteApply(Integer id);

    /**
     * 添加套餐
     * @param applicationPackage
     * @return
     */
    ResultCode addApply(ApplicationPackage applicationPackage);
}
